TenWebOptimizer\OptimizerAdmin D

Total Complexity 449
Dependencies 15
Dependents 5
Total lines 1,817
Lines of code 1,458
Logical lines of code 888
Comment lines 144
Methods 61
Properties 4

Methods 61

Method Rating Maintainability Complexity Lines of code
ajax_two_settings()
C
35 26 78
set_additional_settings()
C
35 23 82
two_critical()
B
39 21 62
activate()
B
40 21 53
connect_to_tenweb()
B
39 18 58
two_enqueue_admin_assets()
A
36 14 70
get_posts_for_critical()
A
42 15 48
update()
A
46 15 35
save_css_options()
A
41 13 59
clear_cache()
A
42 13 51
__construct()
A
46 13 33
two_elementor_regenerate_ccss()
A
47 12 32
admin_menu()
A
40 9 71
two_flow_incompatible_plugins()
A
51 12 24
setFlowIdNotificationId()
A
47 11 32
settings_page()
A
54 12 17
init_admin()
A
39 9 60
clear_cache_conditionally_update()
A
57 11 14
two_flow_set_mode()
A
52 10 21
two_deactivate()
A
48 9 30
two_critical_statuses()
A
50 8 28
generateCriticalCssOnInit()
A
53 8 23
disconnect_from_tenweb()
A
46 7 37
two_uninstall()
A
45 6 46
redirect_after_activation()
S
59 8 13
set_global_mode()
S
53 7 23
two_update_flow_status()
S
56 7 16
two_activate()
S
54 6 20
clear_critical_cache()
S
54 6 20
diviChangesClearCache()
S
56 6 17
two_enqueue_assets()
S
48 5 32
checkDiviSettingsChange()
S
62 7 10
startTheFlow()
S
49 5 28
add_two_delayed_js_execution_list()
S
57 5 16
get_plugins_state()
S
57 5 16
two_deactivate_plugin()
S
64 5 9
wp_permalink_structure_changed_()
S
61 4 12
post_clear_cache()
S
66 4 7
two_clear_cloudflare_cache()
S
68 4 7
two_finish_flow()
S
61 3 12
ajax_two_update_setting()
S
61 3 11
fix_delayed_list_slashes()
S
62 3 11
get_incompatible_active_plugins()
S
65 3 9
acf_update_fields()
S
68 3 6
two_add_two_plugin_to_autoupdate()
S
68 3 7
add_deactivation_popup()
S
73 3 5
two_white_label()
S
68 3 6
two_manage_posts_column()
S
67 3 8
manager_clear_cache()
S
66 3 7
clear_cache_conditionally_activate()
S
65 3 9
get_instance()
S
71 2 6
delete_optimized_pages_by_id()
S
71 2 6
change_front_page()
S
69 2 7
title_filter()
S
67 2 7
add_action_link()
S
67 2 7
customer_support()
S
70 1 6
two_admin_bar_menu()
S
71 1 6
white_label_view()
S
80 1 3
cloudflare_cdn_page()
S
80 1 3
referral_program_page()
S
80 1 3
clear_cache_without_critical_css_regeneration()
S
78 1 3